[NTG-context] Re: Inline mathematics is stretched

2023-10-30 Thread Hans Hagen via ntg-context
On 10/30/2023 8:05 AM, Mia Bikey wrote: Yes well of course no issue arises if I just change the whole font. But I wanted to keep using the mono font thus reporting issues with it. In that case you have to go for flushleft \setupalign[verytolerant,nothyphenated,flushleft] because otherwise tex

[NTG-context] Re: Inline mathematics is stretched

2023-10-29 Thread Hans Hagen via ntg-context
On 10/29/2023 1:33 PM, Mia Bikey wrote: Hi, I was using \setupalign[verytolerant,stretch] so that the mono font does not go inside the right inline image but after using that command the inline math seems to spread. how about just using this \setupbodyfont[concrete] \starttext When $a, b,

[NTG-context] Inline mathematics is stretched

2023-10-29 Thread Mia Bikey
Hi, I was using \setupalign[verytolerant,stretch] so that the mono font does not go inside the right inline image but after using that command the inline math seems to spread. Here is a Minimal Working Example: ConTeXt ver: 2023.09.26 18:19 LMTX \setupbodyfont[10pt, mono] This is how it

Re: [NTG-context] frames, hrule, vfill and pagebreaks (was: Vertically stretched split table)

2014-04-14 Thread Joshua Krämer
Dear list, if somebody cares, the following solution works for me: \hrule \penalty1 \vfill \penalty1 \dontleavehmode\framed{...} \penalty1 \vfill \penalty1 \hrule height 0pt \par\penalty-5000 Joshua

[NTG-context] frames, hrule, vfill and pagebreaks (was: Vertically stretched split table)

2014-04-08 Thread Joshua Krämer
Dear list, at first, I thought the following code (simplified) with frames, hrules and vfills between them would work to typeset my table. However, I have now realized that sometimes a pagebreak occurs before the final (invisible) hrule, and then there's no vfill at the bottom of the page. See

[NTG-context] Vertically stretched split table

2014-04-07 Thread Joshua Krämer
Dear list, if I specify option=height with an xtable, a single-page table is stretched vertically to fill the whole textheight. However, I need this feature with a multipage table. In the following example, the table on the first page should be stretched, but isn't: \showframe \starttext

Re: [NTG-context] Vertically stretched split table

2014-04-07 Thread Hans Hagen
On 4/7/2014 2:56 PM, Joshua Krämer wrote: Dear list, if I specify option=height with an xtable, a single-page table is stretched vertically to fill the whole textheight. However, I need this feature with a multipage table. In the following example, the table on the first page should

Re: [NTG-context] Vertically stretched split table

2014-04-07 Thread Joshua Krämer
On 2014-04-07, 23:18, Hans Hagen wrote: the height stretch is a special case and not interfaced with the splitter (would demand multipass whihc in turn could lead to oscillation) Thanks for the information, I've already feared it would be like that. I have thus created a custom solution

[NTG-context] Using \stretched in macro fails

2013-04-06 Thread Rogers, Michael K
Hi, Below \stretched works by itself, but causes a fatal error when in the macro (\Name). I get the same result with all variants. Perhaps there's a better way? MWE: \def\Name{\stretched[width=]} %\def\Name#1{\stretched[width=]{#1}} %\define[1]\Name{\stretched[width=]{#1

Re: [NTG-context] Using \stretched in macro fails

2013-04-06 Thread Rogers, Michael K
OK, it's not the macro. This fails (same error: ! This can't happen (add_disc_widths)): \starttext St. \stretched[width=]{Banac} \stoptext This works: \starttext St. \stretched[width=]{Bana} \stoptext Strange. On Apr 6, 2013, at 10:26 AM, Rogers, Michael K mrog...@emory.edu wrote: Hi

Re: [NTG-context] \stretched

2012-07-08 Thread Willi Egger
provided. - What is wrong with the first line with the \hbox? This stretched text is as long as the second line and uses the whole text width. The third line has a width of 10cm as it seems. \ruledhbox to 5cm{\stretched{to the limit}} means that the box has 5cm, but \stretched must use

Re: [NTG-context] \stretched

2012-07-05 Thread Willi Egger
Hello! I just downloaded yesterday night's version of Context and tried the example provided. - What is wrong with the first line with the \hbox? This stretched text is as long as the second line and uses the whole text width. The third line has a width of 10cm as it seems. Willi On Jun 28

Re: [NTG-context] \stretched

2012-07-05 Thread luigi scarso
On Thu, Jul 5, 2012 at 5:23 PM, Willi Egger cont...@boede.nl wrote: Hello! I just downloaded yesterday night's version of Context and tried the example provided. - What is wrong with the first line with the \hbox? This stretched text is as long as the second line and uses the whole text

[NTG-context] \stretched

2012-06-28 Thread Hans Hagen
Hi, In the next version, the \stretched command has been replaced by a new one using the character kerning feature. \hbox to 5cm{\stretched{to the limit}} \stretched{to the limit} \stretched[width=10cm]{to the limit} In addition one can set a style and color. Hans

[NTG-context] stretched hyphenated url

2012-03-30 Thread Steffen Wolfrum
Hi, I, personally, like the solution for hyphenated url (by stretching). Only a author of mine feels that it was too much (see attached, first line). Is there a way to adjust the degree of stretching? Steffen --- PastedGraphic-2.pdf Description: Adobe PDF document

Re: [NTG-context] stretched hyphenated url

2012-03-30 Thread Hans Hagen
On 30-3-2012 10:01, Steffen Wolfrum wrote: Hi, I, personally, like the solution for hyphenated url (by stretching). Only a author of mine feels that it was too much (see attached, first line). Is there a way to adjust the degree of stretching? \def\lang_url_space{\nobreak\hskip\zeropoint

Re: [NTG-context] stretched hyphenated url

2012-03-30 Thread Steffen Wolfrum
Am 30.03.2012 um 20:10 schrieb Hans Hagen: On 30-3-2012 10:01, Steffen Wolfrum wrote: Hi, I, personally, like the solution for hyphenated url (by stretching). Only a author of mine feels that it was too much (see attached, first line). Is there a way to adjust the degree of stretching?

Re: [NTG-context] stretched hyphenated url

2012-03-30 Thread Hans Hagen
On 30-3-2012 21:29, Steffen Wolfrum wrote: Am 30.03.2012 um 20:10 schrieb Hans Hagen: On 30-3-2012 10:01, Steffen Wolfrum wrote: Hi, I, personally, like the solution for hyphenated url (by stretching). Only a author of mine feels that it was too much (see attached, first line). Is there a

Re: [NTG-context] \stretched in chapter titles in MKII

2011-02-23 Thread Tom
] On Behalf Of Wolfgang Schuster Sent: Tuesday, February 22, 2011 5:15 PM To: mailing list for ConTeXt users Subject: Re: [NTG-context] \stretched in chapter titles in MKII Am 22.02.2011 um 14:42 schrieb Tom: I'm sorry for being so thick but this code errors out when I run it under TexLive 2010

Re: [NTG-context] \stretched in chapter titles in MKII

2011-02-22 Thread Wolfgang Schuster
characters since last summer? Use \structuretitle and \structurenumber to access the values. \defineconversion [tom] [One,Two,Three,Four,Five,…] \define[1]\ChapterTextCommand {\line{\expanded{\stretched{\structuretitle \define[1]\ChapterNumberCommand {\line{\expanded{\stretched{Chapter

Re: [NTG-context] \stretched in chapter titles in MKII

2011-02-22 Thread Tom
-boun...@ntg.nl] On Behalf Of Wolfgang Schuster Sent: Tuesday, February 22, 2011 3:40 AM To: mailing list for ConTeXt users Subject: Re: [NTG-context] \stretched in chapter titles in MKII Am 22.02.2011 um 01:18 schrieb Tom: The code that follows works fine in MKII but doesn't stretch the chapter

Re: [NTG-context] \stretched in chapter titles in MKII

2011-02-22 Thread Wolfgang Schuster
. However, I want to stretch the title as well as the chapter number, so that is not a solution. I couldn't find documentation for \structuretitle and \structurenumber and am completely lost. Use the ConTeXt minimals or use a more pleasant layout for your headers, the stretched titles don’t look very

Re: [NTG-context] \stretched in chapter titles in MKII

2011-02-21 Thread Tom
] \stretched in chapter titles in MKII Am 05.07.10 21:15, schrieb Tom: I am trying to stretch two lines of text to the same width for use as a chapter head. I have two major problems: 1. The second line of text is appended to the end of the first line instead of being placed below it. 2. I

Re: [NTG-context] \stretched in chapter titles in MKII

2010-07-06 Thread Tom
is not stretched %number of closing }s determined by trial and error \def\MyChapterCommand#1#2% #1 is number, #2 is text { \framed[frame=off,align=middle] {{\hbox to \hsize {\ss\stretched{Chapter {#1 \par {{\hbox to \hsize {\switchtobodyfont[20pt]{\ss\bf\stretched{My

Re: [NTG-context] \stretched in chapter titles in MKII

2010-07-06 Thread Wolfgang Schuster
, i.e {Chapter #1} and {#2}. Because of these errors I have hardcoded the values in the example that follows: You can use \stretched in headers only with \deeptextcommand and \deepnumbercommand. Wolfgang

Re: [NTG-context] \stretched in chapter titles in MKII

2010-07-06 Thread Wolfgang Schuster
as values, i.e {Chapter #1} and {#2}. Because of these errors I have hardcoded the values in the example that follows: \define[1]\ChapterTextStretch {\line{\stretched{#1}}} \define[1]\ChapterNumberStretch{\determineheadnumber[chapter]\ChapterTextStretch{Chapter \currentheadnumber}} \setuphead

Re: [NTG-context] \stretched in chapter titles in MKII

2010-07-06 Thread Tom
\define[1]\ChapterTextStretch {\line{\stretched{#1}}} \define[1]\ChapterNumberStretch{\determineheadnumber[chapter]\ChapterTextStr etch{Chapter \currentheadnumber}} \setuphead [chapter] [alternative=middle, textstyle=sansbold, numberstyle=sans, deeptextcommand

Re: [NTG-context] \stretched in chapter titles in MKII

2010-07-06 Thread Tom
\define[1]\ChapterTextStretch {\line{\stretched{#1}}} \define[1]\ChapterNumberStretch{\determineheadnumber[chapter]\ChapterTextStr etch{Chapter \currentheadnumber}} \setuphead [chapter] [alternative=middle, textstyle=sansbold, numberstyle=sans, deeptextcommand

[NTG-context] \stretched in chapter titles in MKII

2010-07-05 Thread Tom
}. Because of these errors I have hardcoded the values in the example that follows: \def\MyChapterCommand#1#2% #1 is number, #2 is text {\hbox to \hsize {\ss\stretched{Chapter 1}} \par \hbox to \hsize {\ss\bf\stretched{Test Chapter Title}}} \setuphead[chapter] [command=\MyChapterCommand

Re: [NTG-context] How to make a stretched pdf file

2009-05-23 Thread Wolfgang Schuster
a stretched font without disturbing the output routine? I think I can try a narrow font and re-draw my pictures. AFAIK XeTeX has such a feature but is the presentation worth such tricks. Wolfgang ___ If your

[NTG-context] How to make a stretched pdf file

2009-05-22 Thread Zhichu Chen
Hi guys, This may sound crazy, but I have to do a presentation with a stretched output. The thing is, I have a laptop with a normal screen, and it'll be plugged to a very big wide screen monitor so that people can see the slides on the big screen. I have to look at my laptop and present

Re: [NTG-context] How to make a stretched pdf file

2009-05-22 Thread luigi scarso
On Fri, May 22, 2009 at 4:48 PM, Zhichu Chen zhichu.c...@gmail.com wrote: Hi guys, This may sound crazy, but I have to do a presentation with a stretched output. The thing is, I have a laptop with a normal screen, and it'll be plugged to a very big wide screen monitor so that people can

Re: [NTG-context] How to make a stretched pdf file

2009-05-22 Thread Wolfgang Schuster
Am 22.05.2009 um 16:48 schrieb Zhichu Chen: Hi guys, This may sound crazy, but I have to do a presentation with a stretched output. The thing is, I have a laptop with a normal screen, and it'll be plugged to a very big wide screen monitor so that people can see the slides on the big

Re: [NTG-context] How to make a stretched pdf file

2009-05-22 Thread Zhichu Chen
wrote: Hi guys, This may sound crazy, but I have to do a presentation with a stretched output. The thing is, I have a laptop with a normal screen, and it'll be plugged to a very big wide screen monitor so that people can see the slides on the big screen. I have to look at my laptop and present

Re: [NTG-context] How to make a stretched pdf file

2009-05-22 Thread luigi scarso
On Fri, May 22, 2009 at 6:32 PM, Zhichu Chen zhichu.c...@gmail.com wrote: Well, since it's a presentation, I really have some cool style to show by using javascript. I think including separated pages will jeopardize it. Ah, ok I don't know -- I have a little experience with javascript but if

Re: [NTG-context] How to make a stretched pdf file

2009-05-22 Thread Zhichu Chen
On Sat, May 23, 2009 at 12:08 AM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 22.05.2009 um 16:48 schrieb Zhichu Chen: Hi guys, This may sound crazy, but I have to do a presentation with a stretched output. The thing is, I have a laptop with a normal screen, and it'll

Re: [NTG-context] How to make a stretched pdf file

2009-05-22 Thread Zhichu Chen
On Sat, May 23, 2009 at 12:46 AM, luigi scarso luigi.sca...@gmail.com wrote: On Fri, May 22, 2009 at 6:32 PM, Zhichu Chen zhichu.c...@gmail.com wrote: Well, since it's a presentation, I really have some cool style to show by using javascript. I think including separated pages will

Re: [NTG-context] How to make a stretched pdf file

2009-05-22 Thread Wolfgang Schuster
Am 22.05.2009 um 18:47 schrieb Zhichu Chen: Is there an easy option for this? \setuppapersize[SM|SW] or a papersize with the the same width/ height ratio as the projector. That won't go well. The projector is as stupid as it could be. It will honestly send what's shown on my laptop to

Re: [NTG-context] How to make a stretched pdf file

2009-05-22 Thread luigi scarso
On Fri, May 22, 2009 at 6:32 PM, Zhichu Chen zhichu.c...@gmail.com wrote: Well, since it's a presentation, I really have some cool style to show by using javascript. I think including separated pages will jeopardize it. and what about pdf - ps -(some transformations) ps - pdf ? -- luigi

Re: [NTG-context] How to make a stretched pdf file

2009-05-22 Thread Zhichu Chen
On Sat, May 23, 2009 at 12:54 AM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 22.05.2009 um 18:47 schrieb Zhichu Chen: Is there an easy option for this? \setuppapersize[SM|SW] or a papersize with the the same width/height ratio as the projector. That won't go well. The

Re: [NTG-context] How to make a stretched pdf file

2009-05-22 Thread Zhichu Chen
On Sat, May 23, 2009 at 12:55 AM, luigi scarso luigi.sca...@gmail.com wrote: On Fri, May 22, 2009 at 6:32 PM, Zhichu Chen zhichu.c...@gmail.com wrote: Well, since it's a presentation, I really have some cool style to show by using javascript. I think including separated pages will

Re: [NTG-context] How to make a stretched pdf file

2009-05-22 Thread Hans Hagen
Zhichu Chen wrote: On Sat, May 23, 2009 at 12:54 AM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 22.05.2009 um 18:47 schrieb Zhichu Chen: Is there an easy option for this? \setuppapersize[SM|SW] or a papersize with the the same width/height ratio as the projector. That

Re: [NTG-context] How to make a stretched pdf file

2009-05-22 Thread Wolfgang Schuster
Am 22.05.2009 um 16:48 schrieb Zhichu Chen: Hi guys, This may sound crazy, but I have to do a presentation with a stretched output. The thing is, I have a laptop with a normal screen, and it'll be plugged to a very big wide screen monitor so that people can see the slides on the big

Re: [NTG-context] How to make a stretched pdf file

2009-05-22 Thread Zhichu Chen
Awesome, but still, the javascript things are gone :( Anyway, I'll try the resolution method. By the way, is there any chance that I can use a stretched font without disturbing the output routine? I think I can try a narrow font and re-draw my pictures. On Sat, May 23, 2009 at 1:43 AM, Wolfgang

Re: [NTG-context] stretched title text

2006-01-13 Thread Taco Hoekwater
M.guravage wrote: Hi, Something has changed in the past couple months that causes my stretched title code to fail with the message: ! You can't use `\end' in internal vertical mode. recently read \normalend I've attatched a small example. Has anyone a suggestion how I can adapt my code

Re: [NTG-context] \stretched fails with accents

2005-04-11 Thread Hans Hagen
David Munger wrote: Both of these fail (the second one is assumed to be unicode). \hbox to \textwidth {\stretched{pr\'edoctoral}} \hbox to \textwidth {\stretched{prdoctoral}} \hbox to \textwidth {\stretched{pr{\'e}doctoral}} \hbox to \textwidth {\stretched{pr{}doctoral}} an other alternative

Re: [NTG-context] \stretched fails with accents

2005-04-11 Thread David Munger
\hbox to \textwidth {\stretched{pr{\'e}doctoral}} \hbox to \textwidth {\stretched{pr{}doctoral}} Right. Thanks. an other alternative is to use the properties mechanism Do you mean with something like: \hbox to \textwidth {\setuptolerance[stretch]inter word space is stretched} ? David

Re: [NTG-context] \stretched fails with accents + \hyphenation

2005-04-11 Thread Hans Hagen
David Munger wrote: I ran into the same problem with unicode strings in \hyphenation{...}. Any clue? \hyphenation{ma-gn{}-to-hy-dro-dy-na-mi-que} from xtag-hyp: % \mainlanguage[nl] \setupbodyfont[pos] \useXMLfilter[utf,hyp] % % \starttext % % \hyphenatedword{pati\ediaeresis nten} %

Re: [NTG-context] stretched text

2004-10-26 Thread Piotr Kopszak
On Mon, Oct 25, 2004 at 10:32:53AM -0500, Bill McClain wrote: On Mon, 25 Oct 2004 16:06:10 +0200 [EMAIL PROTECTED] (Piotr Kopszak) wrote: Hello, I know it's a bad habit to use stretched text, but apparently formerly people thought differently. I am typesetting old quotations

Re: [NTG-context] stretched text

2004-10-26 Thread Tobias Burnus
Hello, Piotr Kopszak wrote: Right, but as far as I understand this solution: \def\CapStretchAmount{.08em} \def\CapStretch#1{\def\stretchedspaceamount{\CapStretchAmount}\stretchednormalcase{#1}} Which is used as so: \CapStretch{\sc The King in Yellow} applies only to

Re: [NTG-context] stretched text

2004-10-26 Thread Hans Hagen
Piotr Kopszak wrote: Right, but as far as I understand this solution: \def\CapStretchAmount{.08em} \def\CapStretch#1{\def\stretchedspaceamount{\CapStretchAmount}\stretchednormalcase{#1}} Which is used as so: \CapStretch{\sc The King in Yellow} applies only to small

[NTG-context] stretched text

2004-10-25 Thread Piotr Kopszak
Hello, I know it's a bad habit to use stretched text, but apparently formerly people thought differently. I am typesetting old quotations and would not want to replace stretched text simply by emphasized. Is it absolutely discouraged in ConTeXt or is there any way to have it... (in spite of its

[NTG-context] Re: stretched text

2004-10-25 Thread Patrick Gundlach
Hi, I know it's a bad habit to use stretched text, but apparently formerly people thought differently. I am typesetting old quotations and would not want to replace stretched text simply by emphasized. Is it absolutely discouraged in ConTeXt or is there any way to have it... (in spite of its

Re: [NTG-context] stretched text

2004-10-25 Thread Bill McClain
On Mon, 25 Oct 2004 16:06:10 +0200 [EMAIL PROTECTED] (Piotr Kopszak) wrote: Hello, I know it's a bad habit to use stretched text, but apparently formerly people thought differently. I am typesetting old quotations and would not want to replace stretched text simply by emphasized